/**
 * Created by mi on 2017/8/29.
 */
@charset "utf-8";
@import "common/minxincommon";


.check-wrap{
    margin-right: 12px !important;
}



//table 添加add 行
.line-add{
    text-align: center;
    div{
        position: relative;
        display: inline-block;
        padding-left: 25px;
        cursor: pointer;
        &:before{
            position: absolute;
            top:3px;
            left:0;
            display: block;
            content: '';
            width:14px;
            height:14px;
            background: url(../img/user/add.png) no-repeat center;
            vertical-align: middle;
        }
    }
}

//单选按钮
.radio-wrap{
    display: inline-block;
    label{
        cursor: pointer;
    }
}
.radio-wrap:hover {
    .border {
        border-color: #20a0ff;
    }
}
.radio_btn {
    position: relative;
    background: transparent;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    margin-right: 2px;
    vertical-align: middle;
    font-size: 0;
    cursor: pointer;
    input {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 99;
        opacity: 0;
        cursor: pointer;
    }
    span {
        display: inline-block;
        border-radius: 50%;
        -webkit-transition: .3s all;
        -moz-transition: .3s all;
        -ms-transition: .3s all;
        -o-transition: .3s all;
        transition: .3s all;
        transition: .3s all;
    }
    .center {
        position: absolute;
        top: 4px;
        left: 4px;
        width: 8px;
        height: 8px;
    }
    .border {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 1px solid #000;
    }
    input[type="radio"]:checked+.center {
        background-color: #20a0ff;
    }
    input[type="radio"]:checked~.border {
        border-color: #20a0ff;
    }
}


//添加作品
.add-work-wrap{
    padding:0 50px;
    color: #333333;
    background-color: #fff;
    form>div{
        font-size:0;
        margin-bottom: 20px;
    }
    p{
        display: inline-block;
        width: 70px;
        font-size: 14px;
        font-weight:700;
        span{
            color: $red;
            padding-right: -5px;
        }
    }
    input{
        height: 36px;
        font-size: 14px;
        padding:0 10px;
        border:1px solid #ccc;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }
    .w-350{
        width: 350px;
    }
    //红色字提醒
    .re-hint{
        font-size: 14px;
        color: #e00620;
        padding:15px 0;
        text-align: right;
    }
    //顶部
    .top{
        margin-bottom: 0;
        .left,.right{
            &>div{
                height: 36px;
                line-height: 36px;
                margin-bottom: 20px;
            }
        }
        .left{
            width:50%;
        }
        .design-pro{s
            .check-text{
                margin-right: 20px;
            }
        }
        .right{
            p{
                text-align:right;
                padding-right: 7px;
            }
            .add-cate{
                width: 72px;
                height: 36px;
                color: #fff;
                background: $color-active;
                @include borradius;
                &:hover{
                    background-color: $hovercolor;
                }
            }
            .product_type{
                display: none;
                font-size: 14px;
            }
            a.edit{
                display: none;
                font-size: 14px;
                color: #1e87f2;
                margin-left: 10px;
            }
            .radio_btn input{
                height: 16px;
            }
            .check-text{
                font-size: 14px;
                margin-right: 20px;
                vertical-align: middle;
            }
            .sercotent p{
                vertical-align: middle;
            }
            .ex-ycle{
                font-size:0;
                p{
                    padding-right: 13px;
                }
                &>div{
                    position: relative;
                    display: inline-block;
                    height: 36px;
                    border: 1px solid #ccc;
                    @include borradius;
                }
                input{
                    width: 275px;
                    height: 100%;
                    border:none;
                    font-size: 14px;
                    vertical-align: top;
                }
                .selecle{
                    position: relative;
                    display: inline-block;
                    width: 72px;
                    height: 100%;
                    line-height: 34px;
                    font-size: 14px;
                    padding:0 10px;
                    border-left:1px solid #ccc;
                    z-index: 2;
                    background-color: #fff;
                    cursor: pointer;

                }
                .selecleOff{
                    position: absolute;
                    top: 12px;
                    right: 10px;
                    width: 12px;
                    height: 12px;
                    font-size: 0;
                    background: url(../img/user/se-down.png) no-repeat center;
                    cursor: pointer;
                    -webkit-transition: all .4s;
                    -moz-transition: all .4s;
                    -ms-transition: all .4s;
                    -o-transition: all .4s;
                    transition: all .4s;
                }
                .down{
                    display: none;
                    position: absolute;
                    top:35px;
                    right:0;
                    width: 72px;
                    height: 100%;
                    line-height: 34px;
                    font-size: 14px;
                    padding:0 10px;
                    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                    background-color: #fff;
                    z-index: 1;
                    cursor: pointer;
                }
                .selecle.active{
                    .selecleOff{
                        -webkit-transform: rotate(180deg);
                        -moz-transform: rotate(180deg);
                        -ms-transform: rotate(180deg);
                        -o-transform: rotate(180deg);
                        transform: rotate(180deg);
                    }
                }
            }
            .work-cost p{
                padding-right: 13px;
            }
        }
    }
    //作品描述
    .work-des{
        p{
            vertical-align: top;
        }
        textarea{
            width: 830px;
            height: 72px;
            resize: none;
            padding: 5px 10px;
            border-color: #ccc;
            font-family:'microsoft yahei';
        }
    }
    //获得奖项
    .work-award{
        table{
            width: 830px;
            font-size: 14px;
            text-align: center;
        }
        td{
            width: 205px;
            height: 40px;
        }
        .w-215{
            width: 215px;
        }
        a,button{
            display: inline-block;
            width:60px;
            height: 26px;
            line-height: 26px;
            color: #fff;
            font-size: 14px;
            @include borradius;
            vertical-align: middle;
        }
        a{
            background-color: $color-active;
            margin-right: 16px;
        }
        button{
            background-color: $red;
        }
        .nodatalist{
            //display: table-row;
        }
    }
    //复选框区域
    .work-label{
        line-height: 30px;
        &>div{
            margin-bottom: 15px;
            p,.check-wrap{
                vertical-align: middle;
            }
        }
        .right{
            display: inline-block;
            max-width:830px;
            font-size: 0;
        }
    }
    //上传图片提醒文字
    .imgtext{
        margin-top: 5px;
        margin-bottom: 10px;
        font-size: 14px;
        color: #cccccc;
    }
    .img-wrap{
        position: relative;
        width:200px;
        height: 100px;
        overflow: hidden;
        text-align: center;
        cursor: pointer;
        border:1px solid #ccc;
        margin-bottom: 20px;
        img{
            width:100%;
            height:100%;
        }
        span{
            position: absolute;
            top: 4px;
            right: 4px;
            display:none;
            width:20px;
            height: 20px;
            background: url(../img/user/btndel.png) no-repeat center;
        }
        &:hover{
            span{
                display: block;
            }
        }
    }
    .filebtn button{
        width:100px;
        height: 36px;
        color: #fff;
        background: $color-active;
        @include borradius;
        &:hover{
            background-color: $hovercolor;
        }
    }
    //缩略图
    .work-thumbnail,.work-slideshow,.work-detailimg{
        font-size:0;
        p{
            text-align: right;
            padding-right: 14px;
            padding-top: 8px;
            vertical-align: top;
        }
        &>div{
            display: inline-block;
            max-width: 830px;
        }
    }
    //轮播图
    .work-slideshow{
        .img-wrap{
            float: left;
            margin-right: 20px;
        }
    }
    //详情页图片
    .work-detailimg{
        p{
            width: 85px;
            margin-left: -15px;
        }
    }
    .btn-list{
        padding-top: 10px;
        padding-left: 70px;
        padding-bottom: 50px;
        button{
            width: 72px;
            height: 36px;
            background: transparent;
            margin-right: 30px;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            -webkit-transition: all .4s;
            -moz-transition: all .4s;
            -ms-transition: all .4s;
            -o-transition: all .4s;
            transition: all .4s;
        }
        .btn-add{
            background-color: #1E87f2;
            color: #fff;
            &:hover{
                background-color: #4db3ff;
            }
        }
        .btn-reduce{
            color: #1E87f2;
            border:1px solid #1E87f2;
        }
        .btn-back{
            border:1px solid #ccc;
        }
    }
}




.p-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 999;
}
.alertview{
    width:400px;
    height:160px;
    background-color: #fff;
    color: #666666;
    padding:30px 0;
    margin:250px auto 0;
    @include borradius;
    text-align: center;
    .title{
        display: inline-block;
        width: auto;
        min-width: 190px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        background: url(../img/user/alert.png) no-repeat left;
        padding-left: 40px;
    }
    .btn-list{
        width:180px;
        margin:15px auto 0;
    }
    button{
        width: 72px;
        height: 36px;
        border:1px solid #CCCCCC;
        @include borradius;
    }
    .btn-re{
        color: #666666;
        background: transparent;
        &:hover{
            color: $color-active;
            border-color: $color-active;
        }
    }
    .btn-conf{
        color: #fff;
        background: $color-active;
        border: none;
        &:hover{
            background:$hovercolor;
        }
    }
}


//上传奖项弹窗
.upaward-view{
    position: relative;
    width:420px;
    height:330px;
    background-color: #fff;
    color: #333333;
    @include borradius;
    margin-top:160px;
    margin-left:510px;
    text-align: center;
    padding-top: 25px;
    .red{
        width:auto;
        color: red;
    }
    //关闭按钮
    .btn-close{
        position: absolute;
        top:18px;
        right:18px;
        width:16px;
        height: 16px;
        cursor: pointer;
        background: url(../img/user/btn-close.png) no-repeat center;
        &:hover{
            background-image: url(../img/user/btn-closeactive.png);
        }
    }
    button{
        background: #1e87f2;
        color: #fff;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-transition: all .4s;
        -moz-transition: all .4s;
        -ms-transition: all .4s;
        -o-transition: all .4s;
        transition: all .4s;
        &:hover{
            background-color: #4db3ff;
        }
    }
    .set{
        position: relative;
        font-size:0;
        margin-top:20px;
        span,input{
            font-size: 14px;
        }
        input{
            width:200px;
            height: 36px;
            padding:0 10px;
            margin-left: 10px;
            border:1px solid #ccc;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
        }
        span{
            display: inline-block;
            width: 65px;
            text-align: left;
            margin-right:10px;
            color: #666666;
        }
        .red{
            width:auto;
            color: red;
            margin-right: 0;
        }
        .file-name{
            width: 248px;
            height: 36px;
            margin-left: 0;
        }
    }
    .select{
        width: 248px;
        height:36px;
        border:1px solid #ccc;
        @include borradius;
        padding: 0 10px;
    }
    .text{
        vertical-align: top;
    }
    .upfile-wrap{
        position: relative;
        font-size:0;
        margin-right: 158px;
        span,div{
            font-size:14px;
        }
        div{
            display: inline-block;
            cursor: pointer;
        }
        .up-file{
            width: 90px;
            height: 36px;
            color: #fff;
        }
        .fileinput{
            position: absolute;
            top:0;
            left: 115px;
            display: inline-block;
            width:90px;
            height: 36px;
            opacity:0;
            cursor: pointer;
        }
    }
    .state{
        font-size: 12px;
        color: #cccccc;
        margin:18px 0;
    }
    .btn-up{
        position: relative;
        width: 248px;
        height:36px;
        margin-left:75px;
    }
}






//添加品类 弹窗
.win-category #container-other{
    position: relative;
    height: 100%;
}
.category-wrap{
    // 垂直水平居中
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    margin:auto;
    width: 1000px;
    height: 600px;
    background: #fff;
    @include borradius;
    padding:20px;
    color: #333333;
    h4{
        font-size: 16px;
        color: #333333;
    }
    .btn-close{
        top: 20px;
        right: 20px;
    }
    .category{
        //单选按钮
        .radio-wrap{
            width: 100%;
            height: 100%;
            font-size: 0;
            label{
                display: inline-block;
                width: 142px;
                font-size: 14px;
                padding-left: 10px;
                vertical-align: middle;
                cursor: pointer;
            }
        }
        .radio-wrap:hover {
            .border {
                border-color: #20a0ff;
            }
        }
        .radio_btn {
            position: relative;
            display: inline-block;
            width: 16px;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            font-size: 0;
            background: transparent;
            cursor: pointer;
            input {
                position: relative;
                width: 100%;
                height: 100%;
                z-index: 99;
                opacity: 0;
                cursor: pointer;
            }
            span {
                display: inline-block;
                border-radius: 50%;
                -webkit-transition: .3s all;
                -moz-transition: .3s all;
                -ms-transition: .3s all;
                -o-transition: .3s all;
                transition: .3s all;
                transition: .3s all;
            }
            .center {
                position: absolute;
                top: 4px;
                left: 4px;
                width: 8px;
                height: 8px;
            }
            .border {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 1px solid #999999;
            }
            input[type="radio"]:checked+.center {
                background-color: #20a0ff;
            }
            input[type="radio"]:checked~.border {
                border-color: #20a0ff;
            }
        }
        //多选按钮
        .check-wrap{
            display: block;
            .check{
                margin-right:10px;
            }
        }
    }   
    .search-wrap{
        width: 100%;
        margin:30px 0 20px;
        input{
            width: 100%;
            height: 40px;
            border: 1px solid #cccccc;
            padding:0 10px;
            @include borradius;
        }   
    } 
    .selectlist{
        &>div{
            height: 400px;
            border: 1px solid #cccccc;
            @include borradius;
            overflow: auto;
        }
        ul{
            width: 100%;
            min-height: 100%;
            padding:0 20px;
            overflow: auto;
        }
        li{
            width: 100%;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #cccccc;
        }
    }
    .first{
        width: 200px;
    }
    .second{
        width: 220px;
        margin:0 10px;
    }
    .third{
        width: 520px;
        padding:0 20px;
        &>div{
            width: 100%;
            font-size: 14px;
            border-bottom:1px solid #cccccc; 
        }
        p{
            color: #666666;
            margin:20px 0 10px;
        }
        .check-wrap{
            display: inline-block;
            float: left;
            height: 32px;
            line-height: 30px;
            margin-right: 20px;
            .check{
                vertical-align: -2px;
            }
        }
    }
    .btn-list{
        margin-top: 18px;
        text-align: right;
        font-size: 0;
        button{
            width: 72px;
            height: 36px;
            border:1px solid #CCCCCC;
            @include borradius;
            font-size: 14px;
            color: #cccccc;
        }
        .btn-re{
            background: transparent;
            &:hover{
                color: $color-active;
                border-color: $color-active;
            }
        }
        .btn-conf{
            background: #eeeeee;
            margin-left: 20px;
        }
        .btn-conf.active{
            color: #fff;
            border: none;
            background: $color-active;
            &:hover{
                background:$hovercolor;
            }
        }
    }
}








//添加品类
.win-category #container-other{
    position: relative;
    height: 100%;
}
.category-wrap{
    // 垂直水平居中
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    margin:auto;
    width: 1000px;
    height: 600px;
    background: #fff;
    @include borradius;
    padding:20px;
    color: #333333;
    h4{
        font-size: 16px;
        color: #333333;
    }
    .btn-close{
        top: 20px;
        right: 20px;
    }
    .category{
        //单选按钮
        .radio-wrap{
            width: 100%;
            height: 100%;
            font-size: 0;
            label{
                display: inline-block;
                width: 142px;
                font-size: 14px;
                padding-left: 10px;
                vertical-align: middle;
                cursor: pointer;
            }
        }
        .radio-wrap:hover {
            .border {
                border-color: #20a0ff;
            }
        }
        .radio_btn {
            position: relative;
            display: inline-block;
            width: 16px;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            font-size: 0;
            background: transparent;
            cursor: pointer;
            input {
                position: relative;
                width: 100%;
                height: 100%;
                z-index: 99;
                opacity: 0;
                cursor: pointer;
            }
            span {
                display: inline-block;
                border-radius: 50%;
                -webkit-transition: .3s all;
                -moz-transition: .3s all;
                -ms-transition: .3s all;
                -o-transition: .3s all;
                transition: .3s all;
                transition: .3s all;
            }
            .center {
                position: absolute;
                top: 4px;
                left: 4px;
                width: 8px;
                height: 8px;
            }
            .border {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 1px solid #999999;
            }
            input[type="radio"]:checked+.center {
                background-color: #20a0ff;
            }
            input[type="radio"]:checked~.border {
                border-color: #20a0ff;
            }
        }
        //多选按钮
        .check-wrap{
            display: block;
            .check{
                margin-right:10px;
            }
        }
    }   
    .search-wrap{
        width: 100%;
        margin:30px 0 20px;
        input{
            width: 100%;
            height: 40px;
            border: 1px solid #cccccc;
            padding:0 10px;
            @include borradius;
        }   
    } 
    .selectlist{
        &>div{
            height: 400px;
            border: 1px solid #cccccc;
            @include borradius;
            overflow: auto;
        }
        ul{
            width: 100%;
            min-height: 100%;
            padding:0 20px;
            overflow: auto;
        }
        li{
            width: 100%;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #cccccc;
        }
    }
    .first{
        width: 200px;
    }
    .second{
        width: 220px;
        margin:0 10px;
    }
    .third{
        width: 520px;
        padding:0 20px;
        &>div{
            width: 100%;
            font-size: 14px;
            border-bottom:1px solid #cccccc; 
        }
        p{
            color: #666666;
            margin:20px 0 10px;
        }
        .check-wrap{
            display: inline-block;
            float: left;
            height: 32px;
            line-height: 30px;
            margin-right: 20px;
            .check{
                vertical-align: -2px;
            }
        }
    }
    .btn-list{
        margin-top: 18px;
        text-align: right;
        font-size: 0;
        button{
            width: 72px;
            height: 36px;
            border:1px solid #CCCCCC;
            @include borradius;
            font-size: 14px;
            color: #cccccc;
        }
        .btn-re{
            background: transparent;
            &:hover{
                color: $color-active;
                border-color: $color-active;
            }
        }
        .btn-conf{
            background: #eeeeee;
            margin-left: 20px;
        }
        .btn-conf.active{
            color: #fff;
            border: none;
            background: $color-active;
            &:hover{
                background:$hovercolor;
            }
        }
    }
}